#include <iostream>
#include <sys/socket.h>
#include <unistd.h>

using namespace std; 

int main(){
	int fd  = socket(AF_UNIX,SOCK_STREAM,0);
	int r = write(fd,"hello",5);
	cout << r << endl;
	char buf[10]={0};
	r= read(fd,buf,5);
	cout << r << endl;
	cout << buf <<endl;

}

